# _*_ coding : utf-8 _*_
# @Time : 2022/1/17 19:25
# @Author : StephenQukry
# @File : dictionary_test01
# @Project : Test1

#定义一个字典
person = {'name':'吴签','age':28}

print(person['name'])
print(person['age'])
#使用中括号会报错
#print(person['sex'])

print(person.get('name'))
print(person.get(('age')))
print(person.get(('sex')))
